package com.atguigu.gmall.product.service;

import com.atguigu.gmall.product.model.BaseCategoryTrademark;
import com.atguigu.gmall.product.model.CategoryTrademarkVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 分类品牌中间表 业务接口类
 * @author lan
 * @since 2023-04-18
 */
public interface BaseCategoryTrademarkService extends IService<BaseCategoryTrademark> {
    /**
     * 将品牌关联到分类
     * @param categoryTrademarkVo
     * @return
     */
    void saveBaseCategoryTrademark(CategoryTrademarkVo categoryTrademarkVo);

    /**
     * 删除!!!!!!解除品牌分类关联
     * @param category3Id
     * @param trademarkId
     * @return
     */
    void deleteCategoryTrademark(Long category3Id, Long trademarkId);
}
